import service from '@/utils/request'

// @Tags FirstOrderProcessingSign
// @Summary 创建首办单-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingSign true "创建首办单-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /firstOrderProcessingSign/createFirstOrderProcessingSign [post]
export const createFirstOrderProcessingSign = (data) => {
  return service({
    url: '/firstOrderProcessingSign/createFirstOrderProcessingSign',
    method: 'post',
    data
  })
}

// @Tags FirstOrderProcessingSign
// @Summary 删除首办单-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingSign true "删除首办单-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /firstOrderProcessingSign/deleteFirstOrderProcessingSign [delete]
export const deleteFirstOrderProcessingSign = (params) => {
  return service({
    url: '/firstOrderProcessingSign/deleteFirstOrderProcessingSign',
    method: 'delete',
    params
  })
}

// @Tags FirstOrderProcessingSign
// @Summary 批量删除首办单-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除首办单-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /firstOrderProcessingSign/deleteFirstOrderProcessingSign [delete]
export const deleteFirstOrderProcessingSignByIds = (params) => {
  return service({
    url: '/firstOrderProcessingSign/deleteFirstOrderProcessingSignByIds',
    method: 'delete',
    params
  })
}

// @Tags FirstOrderProcessingSign
// @Summary 更新首办单-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingSign true "更新首办单-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /firstOrderProcessingSign/updateFirstOrderProcessingSign [put]
export const updateFirstOrderProcessingSign = (data) => {
  return service({
    url: '/firstOrderProcessingSign/updateFirstOrderProcessingSign',
    method: 'put',
    data
  })
}

// @Tags FirstOrderProcessingSign
// @Summary 用id查询首办单-标志图案工艺说明
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.FirstOrderProcessingSign true "用id查询首办单-标志图案工艺说明"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /firstOrderProcessingSign/findFirstOrderProcessingSign [get]
export const findFirstOrderProcessingSign = (params) => {
  return service({
    url: '/firstOrderProcessingSign/findFirstOrderProcessingSign',
    method: 'get',
    params
  })
}

// @Tags FirstOrderProcessingSign
// @Summary 分页获取首办单-标志图案工艺说明列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取首办单-标志图案工艺说明列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /firstOrderProcessingSign/getFirstOrderProcessingSignList [get]
export const getFirstOrderProcessingSignList = (params) => {
  return service({
    url: '/firstOrderProcessingSign/getFirstOrderProcessingSignList',
    method: 'get',
    params
  })
}
